﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class PhieuThuePhongBUS
    {
        public static List<PhieuThuePhongDTO> layDSPhieuThue()
        {
            return PhieuThuePhongDAO.layDSPhieuThue();
        }
        public static bool capNhat(PhieuThuePhongDTO phieuThue)
        {
            return PhieuThuePhongDAO.capNhat(phieuThue);
        }
        public static bool xoa(long maPhieuThue)
        {
            return PhieuThuePhongDAO.xoa(maPhieuThue);
        }
        public static bool them(PhieuThuePhongDTO phieuThue)
        {

            return PhieuThuePhongDAO.them(phieuThue);
        }
        public static long layMaPhieuThueLonNhat()
        {
            return PhieuThuePhongDAO.layMaPhieuThueLonNhat();
        }
        public static bool capNhatDaThanhToan(long maPhieuThue)
        {
            return PhieuThuePhongDAO.capNhatDaThanhToan(maPhieuThue);
        }

    }
}
